BitNot
BitNot Obtain bitwise NOT ( complement) of two longs long operand ; 32-bit value to be complemented
returns the two's complement: (~operand )
BitNot returns the complement (a bitwise NOT) of a 32-bit operand. operand is a 32-bit long operand.
Returns: a long integer; the result of ~operand.
Notes: Bits of operand that are 0 are set to 1 in the result; all other bits of the
result are cleared to 0.
This capability is native to the CPU and can be performed much faster
using the C ~ (bitwise NOT) operator.
long x, operand;
x = BitNot( operand); [TOKEN:12074] is equivalent to . . . */ x = ~operand; /* . . . and this is MUCH faster */